package com.juc;

public class MyRunnable implements Runnable {
    @Override
    public void run() {
        try {
            Class.forName("MyRunnable").newInstance();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
        System.out.println("线程Runnable");
    }
}
